package com.blogspot.wanyancan.client.image;


public interface DynaTableDataProvider {

	/**
	 * accept String[][] rows, start from startRow	
	 * @author billy
	 */
	interface RowDataAcceptor {
		/**
		 * success accept
		 * @param startRow, relative index in whole List Database
		 * @param imgs, To be displayed
		 */
		void accept(int startRow, ImageRec[] imgs);

		/**
		 * @param caught
		 */
		void failed(Throwable caught);
	}

	/**
	 * @param startRow
	 * @param maxRows
	 * @param acceptor
	 */
	void updateRowData(int startRow, int maxRows, RowDataAcceptor acceptor);
}